python for loop m to n

31

python for loop m to n -

for i in range (m,n+1):
    s += i
    print(i)

print(s)

Comments

Submit
0 Comments